package com.kj.platformlogistics.login.model;

public class RegisterModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"userId":"1406871099469496322","token":"ecebp901q16bwt5pifz5pawjoffsd2xfo5wpl3qg16242591835045a2e4bcffef94dfcb16caa487837ae1aD6DA123F5977FA317711EFAF4728B6CC"}
     * timestamp : 1624259183588
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * userId : 1406871099469496322
         * token : ecebp901q16bwt5pifz5pawjoffsd2xfo5wpl3qg16242591835045a2e4bcffef94dfcb16caa487837ae1aD6DA123F5977FA317711EFAF4728B6CC
         */

        private String userId;
        private String token;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
